### Others

| Function name | Description | Type | Source code |
| - | - | - | - |
| `fetch-file` | This action will be used to fetch the latest file download_url which can be used to download the actual file. | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/sharepoint-online/actions/fetch-file.ts) |
| `list-shared-sites` | This action will be used to display a list of sites to the end-user, who will pick the ones he wants to sync. The connection metadata should be set based on the file selection. | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/sharepoint-online/actions/list-shared-sites.ts) |
| `shared-sites-selection` | This sync will be used to sync file metadata from SharePoint site based on the ones the user has picked. | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/sharepoint-online/syncs/shared-sites-selection.ts) |
| `user-files` | Fetch all files from the user's drive and sync the metadata for each file. | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/sharepoint-online/syncs/user-files.ts) |
| `user-files-selection` | Fetch all selected files from a user's drive | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/sharepoint-online/syncs/user-files-selection.ts) |